package com.sg.model.app.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.io.Serial;
import lombok.experimental.Accessors;

import jakarta.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

/**
 * @author ：CHS
 * @since 2025/5/25 10:22
 *
 *
 * @version 1.0
 */
@Data
@Accessors(chain = true)
@TableName("oms_biz_app_batch")  //3-13-01-业务应用批次表
public class OmsBizAppBatch implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;
    
    
    /**
     * 批次ID 
     */
    @TableId(value = "batch_id", type = IdType.ASSIGN_UUID)
		@NotNull(message = "batchId不能为空")
    private String	 batchId;
    /**
     * 批次标识 
     */
    @TableField(value = "batch_code")
		@NotNull(message = "批次标识不能为空")
		@Schema(description = "批次标识")
    private String	 batchCode;
    /**
     * 批次编号 
     */
    @TableField(value = "batch_number")
		@NotNull(message = "批次编号不能为空")
		@Schema(description = "批次编号")
    private String	 batchNumber;
    /**
     * 批次名称 
     */
    @TableField(value = "batch_name")
		@NotNull(message = "批次名称不能为空")
		@Schema(description = "批次名称")
    private String	 batchName;
    /**
     * 批次开始时间 
     */
    @TableField(value = "batch_start_time")
		@Schema(description = "批次开始时间")
    private Date	 batchStartTime;
    /**
     * 批次结束时间 
     */
    @TableField(value = "batch_end_time")
		@NotNull(message = "批次结束时间不能为空")
		@Schema(description = "批次结束时间")
    private Date	 batchEndTime;
    /**
     * 用途类型编码 BASIC_DIV_MGT:基层分工管理 MID_DIV_MGT:中层分工管理 TOP_EVA_TEMP_MGT:高层评价模板管理
     */
    @TableField(value = "purpose_type_code")
		@NotNull(message = "用途类型编码不能为空")
		@Schema(description = "用途类型编码")
    private String	 purposeTypeCode;
    /**
     * 归属对象ID 
     */
    @TableField(value = "ascription_object_id")
		@NotNull(message = "归属对象ID不能为空")
		@Schema(description = "归属对象ID")
    private String	 ascriptionObjectId;
    /**
     * 是否首次批次 TRUE:是 FALSE:否
     */
    @TableField(value = "is_first")
		@NotNull(message = "是否首次批次不能为空")
		@Schema(description = "是否首次批次")
    private String	 isFirst;

  /**
   * 是否最新批次 TRUE:是 FALSE:否
   */
  @TableField(value = "is_newbatch")
  @NotNull(message = "是否最新批次不能为空")
  @Schema(description = "是否最新批次")
  private String isNewbatch;

  /**
   * 主题内容类型编码 OMS_TARGET_CYCLE:目标周期表 OMS_EVALUATION_OBJECT_TARGET_CYCLE:被评对象目标周期表 OMS_TARGET:目标表 OMS_TARGET_CATEGORY:目标分类表 OMS_TARGET_OBJECTIVE:指标表 OMS_TASK:任务表 OMS_ORG_INDUCTION_RECORD:就职记录表 OMS_FRAMEWORK_ORIGINAL_ROLE_MEMBER:身份人员表 OMS_ORG_DEPT:部门表 OMS_BASE_HOST:宿主表 OMS_FRAMEWORK_SPACE:空间表 OMS_TSPE_CYCLE_STAGE_DATA:周期阶段资料记录 OMS_EVALUATION_TEMPLATE:评价模板 OMS_EVALUATION_PORTRAIT:评价画像表 OMS_ORG_POSITION:职务表 OMS_VIRTUAL_ORG_MEMBER:虚拟组织成员表 OMS_PLANNING:规划资料表 OMS_FRAMEWORK_USERS:个人账号表 OMS_EXECUTE_CYCLE_STAGE:执行周期阶段表 OMS_CONF_SCHEME:配置方案表 OMS_EVA_OBJ_TARGET_CYCLE_OSET:被评对象目标周期目标设置表 OMS_EVA_OBJ_TARGET_CYCLE_WEIGHT_SET:被评对象目标周期权重设置表 OMS_NOTICE:通知公告表 OMS_CYCLE:周期表 OMS_EVALUATION_SUBJECT:评价主题表 OMS_BIZ_APP_BATCH:业务应用批次表 OMS_EVA_BATCH_RELATED_SET:评价模板批次相关设置表
   */
  @TableField(value = "theme_content_type_code")
  @Schema(description = "主题内容类型编码")
  private String themeContentTypeCode;

  /**
   * 主题内容ID
   */
  @TableField(value = "theme_content_id")
  @Schema(description = "主题内容ID")
  private String themeContentId;

    /**
     * 主体生命周期 CURRENTLY_VALID:当前有效 EDITING:正在编辑 ARCHIVING:历史存档
     */
    @TableField(value = "subject_life_cycle")
		@NotNull(message = "主体生命周期不能为空")
		@Schema(description = "主体生命周期")
    private String	 subjectLifeCycle;

    /**
     * 是否存档 TRUE:是 FALSE:否
     */
    @TableField(value = "is_archive")
		@NotNull(message = "是否存档不能为空")
		@Schema(description = "是否存档")
    private String	 isArchive;
    /**
     * 是否未来 TRUE:是 FALSE:否
     */
    @TableField(value = "is_editing")
		@NotNull(message = "是否未来不能为空")
		@Schema(description = "是否未来")
    private String	 isEditing;
    /**
     * 操作人就职记录ID 
     */
    @TableField(value = "operation_induction_id")
		@NotNull(message = "操作人就职记录ID不能为空")
		@Schema(description = "操作人就职记录ID")
    private String	 operationInductionId;
    /**
     * 创建人就职记录ID 
     */
    @TableField(value = "create_induction_id")
		@NotNull(message = "创建人就职记录ID不能为空")
		@Schema(description = "创建人就职记录ID")
    private String	 createInductionId;
    /**
     * 发布人就职记录ID 
     */
    @TableField(value = "release_induction_id")
		@Schema(description = "发布人就职记录ID")
    private String	 releaseInductionId;
    /**
     * 存档人就职记录ID 
     */
    @TableField(value = "archive_induction_id")
		@Schema(description = "存档人就职记录ID")
    private String	 archiveInductionId;
    /**
     * 操作时间 
     */
    @TableField(value = "operate_time")
		@NotNull(message = "操作时间不能为空")
		@Schema(description = "操作时间")
    private Date	 operateTime;
    /**
     * 创建时间 
     */
    @TableField(value = "create_time")
		@NotNull(message = "创建时间不能为空")
		@Schema(description = "创建时间")
    private Date	 createTime;
    /**
     * 发布时间 
     */
    @TableField(value = "release_time")
		@Schema(description = "发布时间")
    private Date	 releaseTime;
    /**
     * 存档时间 
     */
    @TableField(value = "archive_time")
		@Schema(description = "存档时间")
    private Date	 archiveTime;
    /**
     * 是否作废 TRUE:是 FALSE:否
     */
    @TableField(value = "is_valid")
		@NotNull(message = "是否作废不能为空")
		@Schema(description = "是否作废")
    private String	 isValid;
    /**
     * 创建于空间ID 
     */
    @TableField(value = "space_id")
		@NotNull(message = "创建于空间ID不能为空")
		@Schema(description = "创建于空间ID")
    private String	 spaceId;
    /**
     * 创建于联盟应用ID 
     */
    @TableField(value = "app_id")
		@NotNull(message = "创建于联盟应用ID不能为空")
		@Schema(description = "创建于联盟应用ID")
    private String	 appId;
}
